package com.ck.ck_back.dao;

import com.ck.ck_back.pojo.Focus;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FocusMapper {
    int deleteByPrimaryKey(Integer focusId);

    int insert(Focus record);

    int insertSelective(Focus record);

    Focus selectByPrimaryKey(Integer focusId);

    int updateByPrimaryKeySelective(Focus record);

    int updateByPrimaryKey(Focus record);

    List<Focus> selectfoucs_num(String master_id,String post_id);

    List<Focus> selectfoucs(String master_id);

    int getstate(String master_id,String post_id);

    Focus getcontent(String master_id,String post_id);
}